import http from "./http.js";
import config from "@/config/index.config.js";

// 图片上传
export const uploadFile = `${config.baseUrl}/commons/uploadFile`;

// 最新版本接口
export const getVersion = (data) => http.GET(`${config.baseUrl}/app/getVersion`, data);

// 登录
export const login = (data) => http.POSTformdata(`${config.baseUrl}/user/login`, data);
// 登录
export const getOne = (data) => http.GET(`${config.baseUrl}/user/getOne`, data);
// 登录
export const loginOut = (data) => http.POST(`${config.baseUrl}/user/loginOut`, data);
// 注册
export const register = (data) => http.POST(`${config.baseUrl}/user/register`, data);

//查询工作圈 
// export const workCircles = (data) => http.GET(`${config.baseUrl}/workCircle/workCircles`, data);
export const workCircles = (data) => http.GET(`${config.baseUrl}/index/workCircles`, data);

// //登录
// export const login = (data) => http.POST(`${config.baseUrl}/user/login`, data);
// 修改密码
export const changePassword = (data) => http.POSTformdata(`${config.baseUrl}/myMessage/changePassword`, data);
// 忘记密码
export const forgetPassword = (data) => http.POSTformdata(`${config.baseUrl}/myMessage/forgetPassword`, data);
// // 企业信息填写
// export const companyInsert = (data) => http.POSTformdata(`${config.baseUrl}/commpany/CompanyInsert`, data);
// 企业信息填写
export const companyInsert = (data) => http.POST(`${config.baseUrl}/commpany/CompanyInsert`, data);

//城市
export const findCitys = (data) => http.GET(`${config.baseUrl}/dictionary/findCitys`, data);

// 发布动态
export const addWorkCircle = (data) => http.POST(`${config.baseUrl}/workCircle/addWorkCircle`, data);
// 添加动态评论
export const addWorkCircleComment = (data) => http.POSTurl(`${config.baseUrl}/workCircle/addWorkCircleComment`, data);
// 添加动态点赞
export const addWorkCircleSupport = (data) => http.POSTurl(`${config.baseUrl}/workCircle/addWorkCircleSupport`, data);
// 删除动态评论
export const deleteWorkCircleComment = (data) => http.POST(`${config.baseUrl}/workCircle/deleteWorkCircleComment`, data);
// 删除动态点赞
export const deleteWorkCircleSupport = (data) => http.POSTurl(`${config.baseUrl}/workCircle/deleteWorkCircleSupport`, data);
// 查询用户个人工作圈
export const workCircleByUserid = (data) => http.GET(`${config.baseUrl}/workCircle/workCircleByUserid`, data);
// 动态详情
export const workCircleInfo = (data) => http.GET(`${config.baseUrl}/workCircle/workCircleInfo`, data);

//动态发布
export const insertRelease = (data) => http.POST(`${config.baseUrl}/myRelease/insertRelease`, data);
//新增/修改赏金
export const saveMoneyReward = (data) => http.POST(`${config.baseUrl}/myRelease/saveMoneyReward`, data);
//查询赏金
export const selectMoneyReward = (data) => http.GET(`${config.baseUrl}/myRelease/selectMoneyReward`, data);
//查询我的所有动态发布
export const selectMyRelease = (data) => http.GET(`${config.baseUrl}/myRelease/selectMyRelease`, data);
// 新增项目
export const saveProject = (data) => http.POST(`${config.baseUrl}/project/saveProject`, data);
// 新增招应聘
export const saveRecruit = (data) => http.POST(`${config.baseUrl}/recruit/saveRecruit`, data);
// 创建智汇信息
export const insertInformation = (data) => http.POST(`${config.baseUrl}/wisdomInformation/insertInformation`, data);
//个人已加入的公社
export const CommuneUList = (data) => http.GET(`${config.baseUrl}/commune/communeListByJoin`, data);
// 创建公社
export const communeCompany = (data) => http.POST(`${config.baseUrl}/CommuneCompany`, data);

//新增修改意见反馈
export const saveFeedback = (data) => http.POST(`${config.baseUrl}/myMessage/saveFeedback`, data);

//查询用户全部发票
export const findInvoiceAll = (data) => http.GET(`${config.baseUrl}/myMessage/findInvoiceAll`, data);

//查询我的项目
export const findProjectAll = (data) => http.GET(`${config.baseUrl}/index/findProjectAll`, data);

//个人公社邀请
export const CommuneUTeam = (data) => http.POSTformdata(`${config.baseUrl}/CommuneUTeam`, data);

//供应链邀请
export const CommuneCompanyTeam = (data) => http.POSTformdata(`${config.baseUrl}/CommuneCompanyTeam`, data);

//查询我订单消费记录
export const findTransactionAll = (data) => http.GET(`${config.baseUrl}/myMessage/findTransactionAll`, data);

//新建发票
export const saveInvoice = (data) => http.POST(`${config.baseUrl}/myMessage/saveInvoice`, data);

//首页
export const getIndustryCategoryByQy = (data) => http.GET(`${config.baseUrl}/commpany/getIndustryCategoryByQy`, data);

//搜索关键词
export const myHomeSearchs = (data) => http.GET(`${config.baseUrl}/commons/myHomeSearchs`, data);

//个人主页业绩
export const getPersonyejiByQy = (data) => http.GET(`${config.baseUrl}/userHome/UserProject`, data);

//个人主页团队
export const getTuanduiByQy = (data) => http.GET(`${config.baseUrl}/userHome/UserTeam`, data);


//新增智汇活动
export const saveActivity = (data) => http.POST(`${config.baseUrl}/saveActivity`, data);

//创建团队
export const saveTeam = (data) => http.POST(`${config.baseUrl}/saveTeam`, data);

//查询我的退款
export const findIsTkAll = (data) => http.GET(`${config.baseUrl}/myMessage/findIsTkAll`, data);

//银行账户列表
export const bankAccounts = (data) => http.GET(`${config.baseUrl}/workAccount/bankAccounts`, data);

//根据用户查询全部团队
export const findTeamAll = (data) => http.GET(`${config.baseUrl}/team/findTeamAll`, data);
export const findTeamDetails = (data) => http.GET(`${config.baseUrl}/team/findTeamDetails`, data);

//团队创建n+1
export const saveNjy = (data) => http.POST(`${config.baseUrl}/notepad/saveCourse`, data);

//新增银行账户
export const saveBankAccount = (data) => http.POST(`${config.baseUrl}/workAccount/saveBankAccount`, data);

//提现申请
export const addWithdrawalApply = (data) => http.POST(`${config.baseUrl}/workAccount/addWithdrawalApply`, data);

//招投标匹配
export const biddingMatching = (data) => http.POST(`${config.baseUrl}/matching/matching`, data);

// 查询匹配字典
export const findMatchingDictionary = (data) => http.GET(`${config.baseUrl}/dictionary/findMatchingDictionary`, data);

// 更新当前用户提现密码
export const updateTxpassword = (data) => http.POSTurl(`${config.baseUrl}/workAccount/updateTxpassword`, data);

//智汇团队
export const teamInfo = (data) => http.GET(`${config.baseUrl}/notepad/teamInfo`, data);

//查询全部关注
export const selectFollowAll = (data) => http.GET(`${config.baseUrl}/myMessage/selectFollowAll`, data);

//取消关注
export const deleteFollow = (data) => http.POSTurl(`${config.baseUrl}/myMessage/deleteFollow`, data);

//加入伙伴
export const addUserJoinApply = (data) => http.POSTurl(`${config.baseUrl}/throughTrain/addUserJoinApply`, data);

//判断用户是否已加入成功
export const checkIsJoin = (data) => http.GET(`${config.baseUrl}/index/checkIsJoin`, data);

//项目登记
export const addProjectRegister = (data) => http.POST(`${config.baseUrl}/throughTrain/addProjectRegister`, data);
//直通车项目列表
export const myProjects = (data) => http.GET(`${config.baseUrl}/throughTrain/myProjects`, data);

//删除项目
export const throughTrainDeleteProject = (data) => http.GET(`${config.baseUrl}/throughTrain/deleteProject`, data);

//招投标匹配
export const engineeringMatching = (data) => http.POST(`${config.baseUrl}/matching/matching2`, data);

//工程匹配
export const project = (data) => http.POST(`${config.baseUrl}/match/project`, data);

//招聘匹配
export const recruitMatching = (data) => http.POST(`${config.baseUrl}/matching/matching3`, data);

//应聘匹配
export const applicationMatching = (data) => http.POST(`${config.baseUrl}/matching/matching4`, data);

//获取账户信息
export const currentAccountInfo = (data) => http.GET(`${config.baseUrl}/workAccount/currentAccountInfo`, data);

//查询全部员工
export const findWorkerAll = (data) => http.GET(`${config.baseUrl}/myMessage/findWorkerAll`, data);
//检查个人是否有创建公社权限
export const chackRight = (data) => http.POST(`${config.baseUrl}/commune/chackRight`, data);

//团队匹配
export const teamMatching = (data) => http.POST(`${config.baseUrl}/matching/matching5`, data);

//企业匹配
export const enterpriseMatching = (data) => http.POST(`${config.baseUrl}/matching/matching5`, data);

//服务匹配
export const serviceMatching = (data) => http.POST(`${config.baseUrl}/matching/matching7`, data);

//活动匹配
export const activitiesMatching = (data) => http.POST(`${config.baseUrl}/matching/matching8`, data);

//个人团队成员
export const TeamUser = (data) => http.POSTurl(`${config.baseUrl}/TeamUser`, data);

//企业创建公社
export const addCommuneByCompany = (data) => http.POST(`${config.baseUrl}/commune/addCommuneByCompany`, data);

//个人创建公社
export const addCommuneByUser = (data) => http.POST(`${config.baseUrl}/commune/addCommuneByUser`, data);

//获取团队详情
export const findTeamById = (data) => http.GET(`${config.baseUrl}/team/findTeamById`, data);

//个人公社(邀请,申请加入)
export const insetCommuneDetailByUser = (data) => http.POSTurl(`${config.baseUrl}/commune/insetCommuneDetailByUser`, data);

//N+1匹配
export const njyMatching = (data) => http.POST(`${config.baseUrl}/matching/matching9`, data);

//添加用户详细信息
export const saveUserInfo = (data) => http.POST(`${config.baseUrl}/userHome/saveUserInfo`, data);

//智汇活动(查询需要赞助且没有赞助的团队)
export const selectAllActivity = (data) => http.POST(`${config.baseUrl}/matching/selectAllActivity`, data);

//智汇活动(寻找赞助)
export const sqzzMatching = (data) => http.POST(`${config.baseUrl}/matching/matching10`, data);

//智汇N+1(查询当前用户为团长的所有团队信息)
export const selectAllTeam = (data) => http.POST(`${config.baseUrl}/matching/matching99`, data);

//选择城市
export const findCityTree = (data) => http.GET(`${config.baseUrl}/dictionary/findCityTree`, data);
export const findProvinceCityDistrictByTree = (data) => http.GET(`${config.baseUrl}/dictionary/findProvinceCityDistrictByTree`, data);

//查询字典数据 pid
export const findDictionaries = (data) => http.GET(`${config.baseUrl}/dictionary/findDictionaries`, data);

//智汇公社匹配
export const communeMatching = (data) => http.POST(`${config.baseUrl}/matching/communeMatching`, data);

//添加产品信息介绍
export const saveProducts = (data) => http.POST(`${config.baseUrl}/userHome/saveProducts`, data);

//老师发布课程
export const saveCourse = (data) => http.POST(`${config.baseUrl}/course/saveCourse`, data);

//用户查看自己主页详细信息
export const findUserInfoOne = (data) => http.GET(`${config.baseUrl}/userHome/findUserInfoOne`, data);

//查看他人主页详细信息
export const otherUserInfo = (data) => http.GET(`${config.baseUrl}/userHome/findInfoOne`, data);

//教师查询自己的发布的课程
export const selectTeacherCurriculumAll = (data) => http.GET(`${config.baseUrl}/course/selectTeacherCurriculumAll`, data);

//搜索预设课程
export const findCourseAll = (data) => http.GET(`${config.baseUrl}/course/findCourseAll`, data);

//查询全部通知
export const selectAllNotices = (data) => http.POST(`${config.baseUrl}/matching/selectAllNotices`, data);


//首页今日关注
export const myHomeFocusToday = (data) => http.GET(`${config.baseUrl}/commons/myHomeFocusToday`, data);

//添加足迹
export const addBusinessFootprint = (data) => http.POST(`${config.baseUrl}/commons/addBusinessFootprint`, data);

//当前用户足迹列表
export const businessFootprints = (data) => http.GET(`${config.baseUrl}/commons/businessFootprints`, data);

//会议纪要上传文件
export const routineSaveFile = (data) => http.POST(`${config.baseUrl}/notepad/routineSaveFile`, data);

//查询用户自己全部n+1
export const findUserNplusoneALL = (data) => http.GET(`${config.baseUrl}/notepad/findUserNplusoneALL`, data);
//查询n+1成员信息
export const nplusonePeople = (data) => http.GET(`${config.baseUrl}/notepad/nplusonePeople`, data);

//今日关注详情
export const selectMessageByType = (data) => http.POSTurl(`${config.baseUrl}/matching/selectMessageByType`, data);

//用户管理以及已加入的公社列表
export const communeListByJoinAndUserId = (data) => http.GET(`${config.baseUrl}/commune/communeListByJoinAndUserId`, data);

//查询某个匹配消息的关联记录详情
export const selectMessage = (data) => http.GET(`${config.baseUrl}/matching/selectMessage`, data);

//公社成员列表
export const communePeople = (data) => http.GET(`${config.baseUrl}/commune/communePeople`, data);

//发出我的申请
export const myAsk = (data) => http.POST(`${config.baseUrl}/check/myAsk`, data);

//我收到的申请列表
export const myAllAsk = (data) => http.GET(`${config.baseUrl}/check/myAllAsk`, data);

//智汇学习
export const courseInfo = (data) => http.GET(`${config.baseUrl}/notepad/courseInfo`, data);

//智汇信息匹配
export const zhxxMatching = (data) => http.POST(`${config.baseUrl}/matching/matching11`, data);

//智汇推广匹配
export const zhtgMatching = (data) => http.POST(`${config.baseUrl}/matching/matching12`, data);

//智汇N+1信息(记事本)
export const njyInfo = (data) => http.GET(`${config.baseUrl}/notepad/n1Info`, data);

//新增进度
export const newProgress = (data) => http.POST(`${config.baseUrl}/notepad/saveNplusoneProgress`, data);

//智汇公社信息(记事本)
export const communeInfo = (data) => http.GET(`${config.baseUrl}/notebook/communeInfo`, data);

//发布询价
export const inquiryRelease = (data) => http.POST(`${config.baseUrl}/notepad/saveCommuneInquiry`, data);

//查询登录用户创建的团队
export const iAmTeam = (data) => http.POST(`${config.baseUrl}/team/iAmTeam`, data);

//智汇招应聘信息(记事本)
export const recruitInfo = (data) => http.GET(`${config.baseUrl}/notepad/recruitInfo`, data);

//智汇应聘信息(记事本)
export const candidateInfo = (data) => http.GET(`${config.baseUrl}/notepad/candidateInfo`, data);

//智汇信息(记事本)
export const wisdomInformateInfo = (data) => http.GET(`${config.baseUrl}/notepad/wisdomInformateInfo`, data);

//我的活动信息(记事本)
export const myActivityInfo = (data) => http.GET(`${config.baseUrl}/notepad/myActivityInfo`, data);

//我的项目信息(记事本)
export const myProjectInfo = (data) => http.GET(`${config.baseUrl}/notepad/myProjectInfo`, data);

//智汇招应聘确认
export const recruitConfirm = (data) => http.POSTformdata(`${config.baseUrl}/notepad/recruitConfirm`, data);

//更新企业信息
export const updateCompany = (data) => http.POST(`${config.baseUrl}/commpany/updateCompany`, data);

//下拉字典接口
export const fetchDict = (data) => http.GET(`${config.baseUrl}/dictionary/fetchDict`, data);

//更新项目分配比例
export const saveProjectProporte = (data) => http.POST(`${config.baseUrl}/notepad/saveProjectProporte`, data);


//新增纪要
export const saveMeetingRecord = (data) => http.POST(`${config.baseUrl}/notepad/saveMeetingRecord`, data);
//删除纪要
export const deleteNotepadRecord = (data) => http.POSTurl(`${config.baseUrl}/notepad/deleteNotepadRecord`, data);

//确认申请
export const processApply = (data) => http.POST(`${config.baseUrl}/team/processApply`, data);

//发红包
export const addHandRedEnvelopes = (data) => http.POST(`${config.baseUrl}/handRedEnvelop/addHandRedEnvelopes`, data);


//当前用户收藏列表
export const businessCollections = (data) => http.GET(`${config.baseUrl}/matching/businessCollections`, data);

//领取红包
export const receiveHandRedEnvelopes = (data) => http.POSTurl(`${config.baseUrl}/handRedEnvelop/receiveHandRedEnvelopes`, data);

//添加收藏
export const addBusinessCollection = (data) => http.POST(`${config.baseUrl}/matching/addBusinessCollection`, data);

//删除收藏
export const deleteBusinessCollection = (data) => http.POSTurl(`${config.baseUrl}/matching/deleteBusinessCollection`, data);

//发布号我的主页
export const userHome = (data) => http.GET(`${config.baseUrl}/myRelease/userHome`, data);

//获取我创建和我加入的工程信息
export const fetchProjectGroup = (data) => http.GET(`${config.baseUrl}/group/fetchProjectGroup`, data);

//获取人员列表
export const fetchGroupPerson = (data) => http.GET(`${config.baseUrl}/group/fetchGroupPerson`, data);

//我的招聘
export const fetchRecruitGroup = (data) => http.GET(`${config.baseUrl}/group/fetchRecruitGroup`, data);

//应聘提交
export const matching4 = (data) => http.POST(`${config.baseUrl}/matching/matching4`, data);

//我的应聘
export const fetchCandidateGroup = (data) => http.GET(`${config.baseUrl}/group/fetchCandidateGroup`, data);

//我的智汇信息
export const fetchWisdomInfoGroup = (data) => http.GET(`${config.baseUrl}/group/fetchInfo`, data);

//课程详情
export const selectCurriculumOne = (data) => http.GET(`${config.baseUrl}/course/selectCurriculumOne`, data);

//我的活动
export const fetchWisdomActivityGroup = (data) => http.GET(`${config.baseUrl}/group/fetchWisdomActivityGroup`, data);

//我的招投标
export const fetchBidGroup = (data) => http.GET(`${config.baseUrl}/group/fetchBidGroup`, data);

//专业
export const profession = (data) => http.GET(`${config.baseUrl}/select/profession`, data);
//自定义
export const editProfession = (data) => http.POST(`${config.baseUrl}/select/editProfession`, data);

//行业
export const category = (data) => http.GET(`${config.baseUrl}/select/category`, data);
//身份类型
export const identify = (data) => http.GET(`${config.baseUrl}/select/identify`, data);

//添加事件
export const addNotice = (data) => http.POST(`${config.baseUrl}/chat/addNotice`, data);

//点击确认
export const readNotice = (data) => http.GET(`${config.baseUrl}/chat/readNotice`, data);

//新增仲裁
export const addArbitration = (data) => http.POST(`${config.baseUrl}/chat/addArbitration`, data);

//我参与的项目
export const myProject = (data) => http.GET(`${config.baseUrl}/chat/myProject`, data);

//仲裁详情
export const getArbitrationInfo = (data) => http.GET(`${config.baseUrl}/chat/getArbitrationInfo`, data);

//发起项目询价
export const addInquiry = (data) => http.POST(`${config.baseUrl}/chat/addInquiry`, data);
//报价
export const inquiryQuotedPrice = (data) => http.POST(`${config.baseUrl}/chat/inquiryQuotedPrice`, data);

//提交我的观点
export const addEvaluation = (data) => http.POST(`${config.baseUrl}/chat/addEvaluation`, data);

//企业/团队支付
export const payment = (data) => http.POST(`${config.baseUrl}/chat/payment`, data);

//我的观点
export const myView = (data) => http.GET(`${config.baseUrl}/chat/myView`, data);

//未读消息数
export const unReadMatchMsg = (data) => http.GET(`${config.baseUrl}/chat/unReadMatchMsg`, data);

//保存聊天室设置
export const saveRoomSetting = (data) => http.POST(`${config.baseUrl}/chat/saveRoomSetting`, data);
//获取聊天室设置
export const fetchRoomSetting = (data) => http.GET(`${config.baseUrl}/chat/fetchRoomSetting`, data);
//某个群邀请好友
export const fetchUser = (data) => http.GET(`${config.baseUrl}/chat/fetchUser`, data);
//邀请进群
export const joinGroup = (data) => http.POST(`${config.baseUrl}/chat/joinGroup`, data);
//是不是团长
export const checkLeader = (data) => http.GET(`${config.baseUrl}/chat/checkLeader`, data);

//申请加入团队
export const fetchGroup = (data) => http.GET(`${config.baseUrl}/chat/fetchGroup`, data);
export const applyGroup = (data) => http.POST(`${config.baseUrl}/chat/applyGroup`, data);

//省市区
export const fetchArea = (data) => http.GET(`${config.baseUrl}/chat/fetchArea`, data);

//字典数据接口
export const dictGroup = (data) => http.GET(`${config.baseUrl}/dict_group/fetchDict`, data);
export const fetchMultipleKey = (data) => http.POST(`${config.baseUrl}/dict_group/fetchMultipleKey`, data);

//获取用户信息
export const fetchCurrentUser = (data) => http.GET(`${config.baseUrl}/chat/fetchCurrentUser`, data);

//

export const saveHomeCommont = (data) => http.POST(`${config.baseUrl}/myRelease/saveHomeCommont`, data);

export const fetchUserExtra = (data) => http.GET(`${config.baseUrl}/user/fetchUserExtra`, data);

export const fetchUserReviewed = (data) => http.GET(`${config.baseUrl}/user/fetchUserReviewed`, data);

export const createCommune = (data) => http.POST(`${config.baseUrl}/commune/createCommune`, data);


export const fetchPurchase = (data) => http.GET(`${config.baseUrl}/dict_group/fetchPurchase`, data);

//智汇学习
export const matchBrain = (data) => http.POST(`${config.baseUrl}/match/brain`, data);

//智汇推广
export const matchPromote = (data) => http.POST(`${config.baseUrl}/match/promote`, data);

//积微成著
export const matchTime = (data) => http.POST(`${config.baseUrl}/match/time`, data);

//智汇学习
export const fetchBrain = (data) => http.GET(`${config.baseUrl}/group/fetchBrain`, data);
//智汇服务
export const fetchServerGroup = (data) => http.GET(`${config.baseUrl}/group/fetchServerGroup`, data);
//智汇服务
export const fetchTimeRental = (data) => http.GET(`${config.baseUrl}/group/fetchTimeRental`, data);

//智汇信息
export const matchInfo = (data) => http.POST(`${config.baseUrl}/match/info`, data);

export const fetchPromote = (data) => http.GET(`${config.baseUrl}/group/fetchPromote`, data);

export const notebookBrain = (data) => http.GET(`${config.baseUrl}/notebook/brain`, data);

//智汇服务
export const notebookServer = (data) => http.GET(`${config.baseUrl}/notebook/server`, data);

//智汇信息
export const notebookInformation = (data) => http.GET(`${config.baseUrl}/notebook/information`, data);

//智汇信息
export const summary = (data) => http.GET(`${config.baseUrl}/notebook/summary`, data);

//智汇信息
export const getSmsCode = (data) => http.GET(`${config.baseUrl}/user/getSmsCode`, data);


export const smsLogin = (data) => http.POST(`${config.baseUrl}/user/smsLogin`, data);

export const addCommune = (data) => http.POST(`${config.baseUrl}/match/addCommune`, data);

//

export const fetchProfessionById = (data) => http.GET(`${config.baseUrl}/select/fetchProfessionById`, data);

//修改手机号
export const updatePhone = (data) => http.POST(`${config.baseUrl}/user/updatePhone`, data);

//

export const findUserTeam = (data) => http.GET(`${config.baseUrl}/team/findUserTeam`, data);
//广告位
export const fetchAd = (data) => http.GET(`${config.baseUrl}/extra/fetchAd`, data);
export const extraIndex = (data) => http.GET(`${config.baseUrl}/extra/index`, data);
export const extraAbout = (data) => http.GET(`${config.baseUrl}/extra/about`, data);


export const companyAuthUser = (data) => http.POST(`${config.baseUrl}/commpany/companyAuthUser`, data);

export const companyDelUser = (data) => http.POST(`${config.baseUrl}/commpany/companyDelUser`, data);


export const switchUser = (data) => http.POST(`${config.baseUrl}/user/switchUser`, data);

export const followToday = (data) => http.GET(`${config.baseUrl}/index/followToday`, data);

//我的发布发起
export const myPublish = (data) => http.GET(`${config.baseUrl}/index/myPublish`, data);
//删除发布发起
export const delMyPublish = (data) => http.POST(`${config.baseUrl}/index/delMyPublish`, data);

//生成二维码
export const genUserQrcode = (data) => http.GET(`${config.baseUrl}/extra/genUserQrcode`, data);
//聊天二维码
export const genQrcode = (data) => http.GET(`${config.baseUrl}/extra/genQrcode`, data);

export const scanQrcode = (data) => http.POST(`${config.baseUrl}/extra/scanQrcode`, data);

//加入伙伴
export const indexAddUserJoinApply = (data) => http.POST(`${config.baseUrl}/index/addUserJoinApply`, data);

//合作伙伴列表
export const myPromote = (data) => http.GET(`${config.baseUrl}/index/myPromote`, data);

//首页搜索
export const indexSearch = (data) => http.GET(`${config.baseUrl}/index/indexSearch`, data);

//加入临时聊天
export const addTmpChat = (data) => http.POST(`${config.baseUrl}/extra/addTmpChat`, data);

//关注
export const insertFollow = (data) => http.POST(`${config.baseUrl}/myMessage/insertFollow`, data);

//微信支付
export const wxPay = (data) => http.POST(`${config.baseUrl}/pay/margin`, data);

//
export const userJoinGroup = (data) => http.GET(`${config.baseUrl}/group/userJoinGroup`, data);

//
export const myIndex = (data) => http.GET(`${config.baseUrl}/index/myIndex`, data);

//查找好友团队
export const fetchUserOrTeam = (data) => http.GET(`${config.baseUrl}/chat/fetchUserOrTeam`, data);

export const deleteWorkCircle = (data) => http.POSTurl(`${config.baseUrl}//workCircle/deleteWorkCircle`, data);

export const editCustomize = (data) => http.POST(`${config.baseUrl}/user/editCustomize`, data);

//牛人专栏
export const hotshotColumn = (data) => http.GET(`${config.baseUrl}/index/hotshotColumn`, data);

//选中悬赏
export const chooseBestAnswer = (data) => http.POST(`${config.baseUrl}/extra/chooseBestAnswer`, data);

//悬赏问答列表
export const rewardQuiz = (data) => http.GET(`${config.baseUrl}/index/rewardQuiz`, data);

//
export const evaluation = (data) => http.GET(`${config.baseUrl}/index/evaluation`, data);

//
export const systemmessageList = (data) => http.GET(`${config.baseUrl}/systemmessage/list`, data);

//vip级别
export const getVips = (data) => http.GET(`${config.baseUrl}/pay/getVips`, data);

//获取用户最新新
export const findUserOne = (data) => http.GET(`${config.baseUrl}/user/findUserById`, data);

//app广告风云榜
export const listTopAd = (data) => http.GET(`${config.baseUrl}/extra/listTopAd`, data);
export const listTopAdPage = (data) => http.GET(`${config.baseUrl}/extra/listTopAdPage`, data);


//点击广告
export const updateAdViewCount = (data) => http.GET(`${config.baseUrl}/extra/updateAdViewCount`, data);

//获取已经添加的课程列表
export const listAddedCourse = (data) => http.GET(`${config.baseUrl}/course/listAddedCourse`, data);

//添加某个课程
export const buyCurriculumOne = (data) => http.POSTurl(`${config.baseUrl}/course/buyCurriculumOne`, data);

export const aboutDetailList = (data) => http.GET(`${config.baseUrl}/web/operation/aboutDetailList`, data);

//根据服务类型匹配客服
export const matchCustomerServicerByType = (data) => http.GET(`${config.baseUrl}/customerService/matchCustomerServicerByType`, data);

//注销
export const editAppUserLoginPrivilege = (data) => http.GET(`${config.baseUrl}/web/user/editAppUserLoginPrivilege`, data);

export const deleteFileAgree = (data) => http.POSTurl(`${config.baseUrl}/notepad/deleteFileAgree`, data);

//删除已选课程
export const deleteUserCourse = (data) => http.POSTurl(`${config.baseUrl}/notepad/deleteUserCourse`, data);
export const deleteCourse = (data) => http.POSTurl(`${config.baseUrl}/course/deleteCourse`, data);
export const deleteCourseDetails = (data) => http.POSTurl(`${config.baseUrl}/course/deleteCourseDetails`, data);


//删除项目进度
export const deleteNplusoneProgress = (data) => http.POSTurl(`${config.baseUrl}/notepad/deleteNplusoneProgress`, data);

//群成员支付保证金
export const createTeamPayBond = (data) => http.GET(`${config.baseUrl}/notebook/createTeamPayBond`, data);

//管理我的项目
export const findCurrUserCourseAll = (data) => http.GET(`${config.baseUrl}/course/findCurrUserCourseAll`, data);

//管理我的项目
export const findCourseAllByPlus = (data) => http.GET(`${config.baseUrl}/course/findCourseAllByPlus`, data);

//团队成员支付课程费用
export const createTeamPayCourse = (data) => http.GET(`${config.baseUrl}/notebook/createTeamPayCourse`, data);

//团队成员支付课程费用
export const fetchGroupPersonBond = (data) => http.GET(`${config.baseUrl}/group/fetchGroupPersonBond`, data);

 //团队确认
export const recordConfirms = (data) => http.GET(`${config.baseUrl}/notebook/recordConfirms`, data);
 
export const createRecordConfirm = (data) => http.POSTurl(`${config.baseUrl}/notebook/createRecordConfirm`, data);

export const outOrDeleteGroup = (data) => http.GET(`${config.baseUrl}/group/outOrDeleteGroup`, data);

//智汇币明细
export const coinLogPage = (data) => http.GET(`${config.baseUrl}/workAccount/coinLogPage`, data);

export const inquiryInfo = (data) => http.POSTurl(`${config.baseUrl}/chat/inquiryInfo`, data);






